﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.UI.WebControls;
using System.Web.WebPages.Html;

namespace Furion.Models
{
    public class CreatePortfolioViewModel
    {
        
        public string Name { get; set; }        
        public string Code { get; set; }        
        public int? Currency { get; set; }        
        public int? Country { get; set; }        
        public int? FundManager { get; set; }        
        public int? AssetClass { get; set; }        
        public int? InvestmentDesk { get; set; }        
        public int? DataLoadType { get; set; }        
        public double? OutputTarget { get; set; }        
        public DateTime? StartDate { get; set; }
        //[Required(ErrorMessage = "BenchMark is required.")]
        public int? Benchmark { get; set; }       
        public DateTime? BenchmarkDate { get; set; }
        public string PortfolioType { get; set; }

        public bool portfolioCheck { get; set; }

        public IEnumerable<System.Web.Mvc.SelectListItem> CurrencyList { get; set; }
        public IEnumerable<System.Web.Mvc.SelectListItem> CountryList { get; set; }
        public IEnumerable<System.Web.Mvc.SelectListItem> AssetClassList { get; set; }
        public IEnumerable<System.Web.Mvc.SelectListItem> FundManagerList { get; set; }
        public IEnumerable<System.Web.Mvc.SelectListItem> InvestmentDeskList { get; set; }
        public IEnumerable<System.Web.Mvc.SelectListItem> DataLoadTypeList { get; set; }
        public IEnumerable<System.Web.Mvc.SelectListItem> BenchmarkList { get; set; }

    }

    public class ReturnValue
    {
        public bool Success { get; set; }
        public string Message { get; set; }
    }
}